package com.xiangxiao.rpan.data.consumer.callback;

import com.alibaba.fastjson.JSONObject;
import com.xiangxiao.rpan.data.consumer.IConsumerAuthorityClient;
import com.xiangxiao.rpan.data.dto.QueryUsersByTopicDto;
import org.springframework.stereotype.Component;

/**
 * @auther xiangxiao
 * @email 573768011@qq.com
 * @data 2024/7/2 17:04
 */
@Component
public class AuthorityClientCall implements IConsumerAuthorityClient {
  @Override
  public JSONObject queryUserIdsByTopic(QueryUsersByTopicDto ueryUsersByTopicDto) {
    String error = "{\"error\":\"ConsumerAuthorityClient queryUserIdsByTopic method has error -----rpan-authority\"}";
    return JSONObject.parseObject(error);
  }
}
